export const getMenuType = (type) => {
  if (type == 1) {
    return '目录'
  } else if (type == 2) {
    return '菜单'
  } else if (type == 3) {
    return '外链'
  } else if (type == 4) {
    return '权限'
  } else {
    return ''
  }
}
export const getMenuColor = (type) => {
  if (type == 1) {
    return 'primary'
  } else if (type == 2) {
    return 'success'
  } else if (type == 3) {
    return 'error'
  } else if (type == 4) {
    return 'warning'
  } else {
    return ''
  }
}

export const usertypeList = [
  {
    Value: 0,
    Title: '养老机构'
  },
  {
    Value: 1,
    Title: '供应商'
  },
  {
    Value: 2,
    Title: '县局'
  },
  {
    Value: 3,
    Title: '市局'
  },
  {
    Value: 4,
    Title: '省厅'
  },
  {
    Value: 5,
    Title: '平台'
  }

]
export const orgtypeList = [
  {
    Value: 1,
    Title: '养老机构'
  },
  {
    Value: 2,
    Title: '日间照料中心'
  },
  {
    Value: 3,
    Title: '农村幸福院'
  }
]
export const orgStatusList = [
  {
    Value: 1,
    Title: '正常运营'
  },
  {
    Value: 2,
    Title: '暂停运营'
  },
  {
    Value: 3,
    Title: '注销取缔'
  },
]

export const orgPersonAttrList = [

  "民办非企业法人", "企业法人", "事业单位法人", "未经法人登记"
]
export const orgattrList = [
  '敬老院', '敬老院、民办养老机构', '民办养老机构', '市社会福利院'
]

export const operatetypeList = [
  '民办民营', '公办公营', '委托运营'
]
export const operatemodelList = [
  '个人或单位自建自营', '街道（社区）运营', '委托第三方运营', '物业运营'
]
export const towntypeList = [
  '城市社区', '农村社区'
]
export const towntype2List = [
  '城镇', '农村'
]


export const buildModelList = [
  '单独建设', '依托建设'
]
export const ownerList = [
  '村级管理运营', '第三方托管运营', '个人运营'
]

export const owner2List = [
  '村级自建', '社会建设', '政府（街道）建设', '政府与社会合资合作建'
]
export const owner5List = [
  '个人', '公立医院', '民营企业', '社会组织', '县级民政局', '乡镇、街道民政办'
]
export const orgOwnerList = [
  '个人', '公立医院', '国有企业', '民办医院', '民营企业', '社会组织', '实际民政局', '县级民政局', '乡镇、街道'
]

export const healthBuildTypeList = [
  '未开展医疗服务', '养老机构内设医疗机构', '医疗机构兴办养老机构', '与外部开展医疗写作', '民营企业', '社会组织', '实际民政局', '县级民政局', '乡镇、街道'
]
export const healthTypeList = [
  ' ', '内设护理站', '内设医务室、门诊', '内设医院',
]


export const buildtypeList = [
  '改（扩）建', '无偿使用', '自建', '租赁'
]

export const orgBuildTypeList = [
  '改（扩）建', '新建', '改建'
]

export const canteenbuildtypeList = [
  '单独建设', '依托街道综合养老服务机构', '依托农村幸福院', '依托日间照料中心', '依托养老服务站', '依托养老机构', '其他'
]

export const orgstatusList = [
  {
    Value: 0,
    Title: '待评定'
  },
  {
    Value: 10,
    Title: '自评中'
  },
  {
    Value: 20,
    Title: '已自评'
  },
  {
    Value: 30,
    Title: '自评驳回'
  },
  {
    Value: 40,
    Title: '初评中'
  }, {
    Value: 50,
    Title: '已初评'
  }, {
    Value: 60,
    Title: '复评中'
  }, {
    Value: 70,
    Title: '已复评'
  },
]

export const assessTypeList = [
  {
    Value: 1,
    Title: '新增申请'
  },
  {
    Value: 2,
    Title: '变更等级申请'
  },
  {
    Value: 3,
    Title: '等级复核'
  },
  {
    Value: 4,
    Title: '等级抽查'
  },
]

export const levelList = [
  {
    Value: 0,
    Title: '无'
  },
  {
    Value: 1,
    Title: '1星级'
  },
  {
    Value: 2,
    Title: '2星级'
  },
  {
    Value: 3,
    Title: '3星级'
  },
  {
    Value: 4,
    Title: '4星级'
  },
  {
    Value: 5,
    Title: '5星级'
  }
]
export const orgLevelList = [
  {
    Value: 0,
    Title: '无'
  },
  {
    Value: 1,
    Title: '县级'
  },
  {
    Value: 2,
    Title: '乡镇'
  },
  {
    Value: 3,
    Title: '中心'
  }
]

export const landAttrList = [
  '出让', '划拨', '农村集体用地', '租赁'
]

export const houseAttrList = [
  '自有产权', '租赁使用', '其他性质'
]

export const ownerShipList = [
  '产权归开发建设单位', '产权归政府', '其他'
]

export const personTypeList = [
  '低保老年人', '特困老年人', '社会老年人', '建档立卡贫困老年人'
]


export const bodyLevelList = [
  {
    Value: 0,
    Title: '能力完好'
  },
  {
    Value: 1,
    Title: '轻度失能'
  },
  {
    Value: 2,
    Title: '中度失能'
  },
  {
    Value: 3,
    Title: '重度失能'
  },
  {
    Value: 4,
    Title: '完全失能'
  }

]